﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
   public class RawMaterial
    {
        /// <summary>
        /// 自增列
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int ID { get; set; }
        /// <summary>
        /// 编号
        /// </summary>
        public string Num { get; set; } = string.Empty;
        /// <summary>
        /// 品名
        /// </summary>
        public string ProductName { get; set; } = string.Empty;
        /// <summary>
        /// 规格
        /// </summary>
        public string Specifications { get; set; } = string.Empty;
        /// <summary>
        /// 克重
        /// </summary>
        public string  Weight { get; set; } = string.Empty;
        /// <summary>
        /// 门幅
        /// </summary>
        public string Width { get; set; } = string.Empty;
        /// <summary>
        /// 颜色
        /// </summary>
        public string Color { get; set; } = string.Empty;
        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; } = string.Empty;
        /// <summary>
        /// 辅助编码
        /// </summary>
        public string AuxiliaryEncoding { get; set; } = string.Empty;
        /// <summary>
        /// 库存数量
        /// </summary>
        public decimal InventoryQuantity{ get; set; }
        /// <summary>
        /// 是否计算库存
        /// </summary>
        public string CalculateInventory { get; set; } = "是";
        /// <summary>
        /// 预出库数量
        /// </summary>
        public decimal PreOutboundQuantity { get; set; }
        /// <summary>
        /// 可使用数量
        /// </summary>
        public decimal CanUsedQuantity { get; set; }
        /// <summary>
        /// 库存预警值
        /// </summary>
        public decimal InventoryAlerts { get; set; }
        /// <summary>
        /// 库存数量1
        /// </summary>
        public decimal InventoryQuantity1 { get; set; }
        /// <summary>
        /// 公斤数
        /// </summary>
        public decimal Kilograms {  get; set; }
        /// <summary>
        /// 厂家
        /// </summary>
        public string Factory { get; set; }= string.Empty;
    }
}
